package com.woniu.adminservice.service;

import com.woniu.adminservice.entity.RolesMenus;
import java.util.List;

public interface RolesMenusService {

    RolesMenus queryById(Integer id);

    List<RolesMenus> queryAllByLimit(int offset, int limit);
    
    List<RolesMenus> findAll();
    RolesMenus insert(RolesMenus rolesMenus);

    RolesMenus update(RolesMenus rolesMenus);

    boolean deleteById(Integer id);

}